import axios from 'axios'
import Vue from 'vue'


const https = axios.create({
    baseURL:'http://localhost:8070/web/api'
})

https.interceptors.request.use(config=>{
    // if (localStorage.token){
    //     config.headers.Authorization = 'Bearer ' + localStorage.token
    // }
    return config
},err=>{
    console.log(err);
})

export default https